/*
 *E3_16.cpp
 *Create by Administrator
 * 2017年1月21日
 * 上午10:13:58
 */
#include <iostream>
#include<vector>
using std::string;
using std::cin;
using std::cout;
using std::endl;
using std::vector;
int main() {
//    (a)
	/*vector<int> v1;
	 for (auto v : v1)
	 cout << v;
	 cout << endl;*/

//(b)
	/*vector<int> v2(10);
	 for (auto v : v2)
	 cout << v;
	 cout << endl;*/

//(c)
	/*vector<int> v3(10, 42);
	 for (auto v : v3)
	 cout << v << " ";
	 cout << endl;*/

//(d)
	/*	vector<int> v4{10};
	 for (auto v : v4)
	 cout << v << " ";
	 cout << endl;*/

//(e)
	vector<int> v5 { 10, 42 };
	 for (auto v : v5)
		 cout << v << " ";
		 cout << endl;

	return 0;
}


